package com.luo.pojo.po;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author luo
 * @since 2025-06-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("books")
public class Books implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 图书编号
     */
    @TableId(value = "BookID", type = IdType.AUTO)
    private Integer BookID;

    /**
     * 图书名称
     */
    private String BookName;

    /**
     * 作者
     */
    private String Author;

    /**
     * 出版时间
     */
    @TableField("PublicationDate")
    private LocalDate PublicationDate;

    /**
     * 价格
     */
    private BigDecimal Money;

    /**
     * 图书类型
     */
    @TableField("BookType")
    private byte[] BookType;

    /**
     * 图书状态
     */
    @TableField("BookStatus")
    private Integer BookStatus;


}
